package com.zhuanzhuan.hero.user.mq.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName BackBusinessLabelUpdateMsg
 * @Description
 * @Author hanjunjun
 * @Date 2024/7/10 17:18
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BackBusinessLabelUpdateMsg extends BaseUserMsg {

    public static final Integer BOUND = 1;
    public static final Integer UNBOUND = 0;

    private Long labelId;

    private String labelName;

    private String iconUrl;

    /**
     * 0-解绑,  1-绑定
     */
    private Integer type;

    public BackBusinessLabelUpdateMsg(Long uid, Long labelId, String labelName, String iconUrl, Integer type) {
        super(uid);
        this.labelId = labelId;
        this.labelName = labelName;
        this.iconUrl = iconUrl;
        this.type = type;
    }
}
